﻿using Paas.App.Interface.Common.Dtos;
using Basefr.App.Messages;
using System.IO;

namespace Paas.App.Interface.Common.Messages
{
    public class UploadFileInput : SaveInput<FileDto>
    {
        public byte[] FileContent { get; set; }
    }
    public class UploadFileOutput : SaveOutput<FileDto> { }



    public class DownloadFileInput : QueryInput
    {
        public string Code { get; set; }
    }
    public class DownloadFileOutput : QuerySingleOutput<FileDto>
    {
        public FileStream FileStream { get; set; }
    }
}

